package org.nanfang.test00.demo04;

/**
 * @author ZQX
 * @date 2025-03-10
 */
public class MainTest {
    public static void main(String[] args) {
        String source = "D:\\111.rar" ;
        String target = "D:\\222.rar" ;

        FileData fileData = new FileData();

        CopyThread ct = new CopyThread(source,target,fileData) ;
        ProgressThread pt = new ProgressThread(fileData);
        pt.setDaemon(true);

        ct.start();
        pt.start();

        System.out.println(0 * 1.0 / 0 * 100);
    }
}
